package com.mouse.magent.common.exception;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.log4j.Log4j2;

@AllArgsConstructor
@Log4j2
@Getter
public enum SystemErrorType implements ErrorType {
    SYSTEM_ERROR("-1", "系统异常"),
    SYSTEM_SUCCESS("0", "处理成功"),
    URL_ERROR("1", "地址不存在"),
    AUTH_ERROR("2", "授权失败"),
    ARGUMENT_NOT_VALID("100", "参数校验失败"),
    UPLOAD_FILE_SIZE_LIMIT("101", "上传文件异常"),
    ;
    @Setter
    private String code;
    @Setter
    private String message;
}
